#pragma once

#include "Protocol.h"

enum TransMode
{
	kTCP,
	kUDP
};

class Director
{
	Director();

public:
	static Director* getInstance();
	static void release();
	~Director();

	inline TransMode getMode() {
		return _mode;
	}

	inline Protocol* getProtocol(){
		return _protocol;
	}
protected:

	TransMode _mode;

	Protocol *_protocol;
};

